FROM openjdk:8-jdk-alpine
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apk add --update font-adobe-100dpi ttf-dejavu fontconfig
RUN fc-cache --force
VOLUME /tmp
COPY etung-iot-demo/target/app /app
ENTRYPOINT ["java","-cp","app:app/lib/*","com.etung.iot.demo.DemoApplication"]